|
ARD2
1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
|
FreeMASTER Driver MPC56xx-hardware dependent stuff. More...
Functions | |
| void | FMSTR_Isr (void) |
| void | FMSTR_CopyMemory (FMSTR_ADDR nDestAddr, FMSTR_ADDR nSrcAddr, FMSTR_SIZE8 nSize) |
| The "memcpy" used internally in FreeMASTER driver. | |
| FMSTR_BPTR | FMSTR_CopyToBuffer (FMSTR_BPTR pDestBuff, FMSTR_ADDR nSrcAddr, FMSTR_SIZE8 nSize) |
| Write-into the communication buffer memory. | |
| FMSTR_BPTR | FMSTR_CopyFromBuffer (FMSTR_ADDR nDestAddr, FMSTR_BPTR pSrcBuff, FMSTR_SIZE8 nSize) |
| Read-out memory from communication buffer. | |
| void | FMSTR_CopyFromBufferWithMask (FMSTR_ADDR nDestAddr, FMSTR_BPTR pSrcBuff, FMSTR_SIZE8 nSize) |
| Read-out memory from communication buffer, perform AND-masking. | |
FreeMASTER Driver MPC56xx-hardware dependent stuff.
| FMSTR_BPTR FMSTR_CopyFromBuffer | ( | FMSTR_ADDR | nDestAddr, |
| FMSTR_BPTR | pSrcBuff, | ||
| FMSTR_SIZE8 | nSize | ||
| ) |
Read-out memory from communication buffer.
| nDestAddr | - destination memory address |
| pSrcBuff | - pointer to source memory in communication buffer |
| nSize | - buffer size (always in bytes) |
| void FMSTR_CopyFromBufferWithMask | ( | FMSTR_ADDR | nDestAddr, |
| FMSTR_BPTR | pSrcBuff, | ||
| FMSTR_SIZE8 | nSize | ||
| ) |
Read-out memory from communication buffer, perform AND-masking.
| nDestAddr | - destination memory address |
| pSrcBuff | - source memory in communication buffer, mask follows data |
| nSize | - buffer size (always in bytes) |
| void FMSTR_CopyMemory | ( | FMSTR_ADDR | nDestAddr, |
| FMSTR_ADDR | nSrcAddr, | ||
| FMSTR_SIZE8 | nSize | ||
| ) |
The "memcpy" used internally in FreeMASTER driver.
| nDestAddr | - destination memory address |
| nSrcAddr | - source memory address |
| nSize | - memory size (always in bytes) |
| FMSTR_BPTR FMSTR_CopyToBuffer | ( | FMSTR_BPTR | pDestBuff, |
| FMSTR_ADDR | nSrcAddr, | ||
| FMSTR_SIZE8 | nSize | ||
| ) |
Write-into the communication buffer memory.
| pDestBuff | - pointer to destination memory in communication buffer |
| nSrcAddr | - source memory address |
| nSize | - buffer size (always in bytes) |